home *** CD-ROM | disk | FTP | other *** search
- Path: ll.mit.edu!cogen
- From: cogen@ll.mit.edu (David Cogen)
- Newsgroups: gnu.g++.help,comp.lang.c++
- Subject: g++ with dbx (Solaris)
- Date: 12 Jan 1996 13:55:11 -0500
- Organization: Gatewayed from the GNU Project mailing list help-g++@prep.ai.mit.edu
- Sender: daemon@cis.ohio-state.edu
- Distribution: world
- Message-ID: <9601121353.AA09421@LL.MIT.EDU>
- References: <DL2DoK.4pw@ipmce.su>
-
- Requirement: To use Sun's dbx debugger on a program compiled with g++.
-
- Reason: Because dbx provides essential runtime pointer checking facilities
- which gdb doesn't provide.
-
- System: Sun Sparcstation, gcc 2.7.0, SunOS 5.4 (Solaris)
-
-
- I compile the program as follows:
-
- gcc -g test.cc -lg++
-
- In place of -g I have also tried all the others: -gstabs, etc.
-
- But when I run the executable with dbx, dbx doesn't find any debug info.
-
-
- Please tell me there's a way to do this!
-
-
- -- David Cogen
-